for i in range(1, 10):
    if  i % 2 == 0:
        print(i,end = ' ')
    else:
        pass